package com.cskaoyan.service;

import com.cskaoyan.model.Coupon;
import com.cskaoyan.model.bo.BaseParamBO;
import com.cskaoyan.model.vo.DataVO;
import com.cskaoyan.model.vo.ExceptionVO;
import com.cskaoyan.model.vo.WxCouponVO;

/**
  *@ClassName: WxCouponService
  *@Description: TODO 微信端优惠券模块业务接口
  *@Author: zk
  *@Date: 2022/5/8 20:46
  *@Version: 1.0
 **/
public interface WxCouponService {
    DataVO<Coupon> selectCouponList(BaseParamBO paramBO);


    DataVO<WxCouponVO> selectMylistByStatus(BaseParamBO param, Integer status, Integer userId);


    ExceptionVO receiveCoupon(Integer userId, Coupon coupon);

    ExceptionVO exchangeCoupon(Integer userId, Coupon coupon);

    DataVO<WxCouponVO> selectAvailableCouponList(Integer userId, Integer cartId);
}
